﻿@using DevTrends.MvcDonutCaching
@using KMF.WebUI.CustomHelpers
<!DOCTYPE html>
<html lang="vi" xmlns:fb='https://www.facebook.com/2008/fbml'>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>@Html.Raw(ViewBag.Title)</title>
    <meta name="description" @Html.Raw(string.Format("content=\"{0}\"", string.IsNullOrEmpty(ViewBag.Description) ? "" : ViewBag.Description)) />
    <meta name="keywords" @Html.Raw(string.Format("content=\"{0}\"", string.IsNullOrEmpty(ViewBag.Keywords) ? "" : ViewBag.Keywords)) />
    @Html.CanonicalUrl()
    @{
        var htmlMeta = KMF.WebUI.CustomHelpers.FunctionHelpers.returnConfig("HeaderMeta");
    }
    @Html.Raw(Server.HtmlDecode(htmlMeta))
    @RenderSection("headerProperty", required: false)
    @Styles.Render("~/Content/style")
    @Scripts.Render("~/bundles/modernizr")

    <!--Hide left menu-->
    <style>
        .mnu-box .mnu-list {
            display: none;
        }

        .mnu-box:hover .mnu-list {
            display: block;
        }

        .ft-box {
            display: none;
        }
    </style>
    <!--End Hide left menu-->
</head>
<body>

    <div class="header">
        @Html.Action("Header", "Home")
    </div>
    <div class="main">
        @RenderBody()
    </div>

    <div class="footer">
        @Html.Action("Footer", "Home")
    </div>



    @Scripts.Render("~/bundles/jquery")
  
    @Scripts.Render("~/bundles/HideLayout")
    @RenderSection("scripts", required: true)
    @{
        var analytics = KMF.WebUI.CustomHelpers.FunctionHelpers.returnConfig("AnalyticsCode");
        if (!string.IsNullOrEmpty(analytics))
        {
        @Html.Raw("<script>" + Server.HtmlDecode(analytics) + "</script>")
        }
    }
</body>
</html>
